import Vue from 'vue'
import App from './App'
import httpInterceptor from '@/common/http.interceptor.js'
import httpApi from '@/common/http.api.js'



import uviewui from 'uviewui';
Vue.use(uviewui)



Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})

//http拦截器，将此部分放在new Vue()和app.$mount()之间，才能App.vue中正常使用
Vue.use(httpInterceptor,app);
Vue.use(httpApi,app);


app.$mount()
